<?php



class FunrTiporelacionMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.FunrTiporelacionMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('funr_tiporelacion');
		$tMap->setPhpName('FunrTiporelacion');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('FUNR_TIPORELACION_ID', 'FunrTiporelacionId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('FUNTIPOR_DESCRIPCION', 'FuntiporDescripcion', 'string', CreoleTypes::VARCHAR, false, 20);

		$tMap->addColumn('FUNTIPOR_ESTADO', 'FuntiporEstado', 'string', CreoleTypes::VARCHAR, false, 1);

	} 
} 